<volist name="data" id="vo">
    <if condition="$vo['type'] eq 1">
        <div onclick="window.location.href='/Complaint/Common/complaintDetails/employee_restaurant_id/{BEESCRM:$vo.employee_restaurant_id}/employee_id/{BEESCRM:$vo.employee_id}/id/{BEESCRM:$vo.id}/irs_id/{BEESCRM:$irs_id}';return false"
             class="list flex-1">
            <div class="house">
                <img onerror="this.src='/assets/complaint/images/house.jpg'" src="{BEESCRM:$vo.restaurant_img}"
                     alt="">
            </div>
            <div class="right">
                <div class="name font-14 gray">{BEESCRM:$vo.restaurant_name}</div>
                <div class="gray2 font-16 margin-t2">

                    <span class="pull-right orange margin-r20">已投诉
                    </span>
                    <span>{BEESCRM:$vo.create_time|date="Y-m-d",###}</span>
                </div>
            </div>

        </div>
        <else/>
        <div onclick="window.location.href='/Complaint/Common/commentDetails/restaurant_id/{BEESCRM:$vo.restaurant_id}/id/{BEESCRM:$vo.id}/irs_id/{BEESCRM:$irs_id}';return false"
             class="list flex-1">
            <div class="house">
                <img onerror="this.src='/assets/complaint/images/house.jpg'" src="{BEESCRM:$vo.restaurant_img}"
                     alt="">
            </div>
            <div class="right">
                <div class="name font-14 gray">{BEESCRM:$vo.restaurant_name}</div>
                <div class="gray2 font-16 margin-t2">

                    <span class="pull-right orange margin-r20">
                        已评论
                  </span>
                    <span>{BEESCRM:$vo.create_time|date="Y-m-d",###}</span>
                </div>
            </div>

        </div>
    </if>
</volist>